export default class Router {
    static go = (path: string) => {
        if (window.location.pathname != path) {
            window.location.pathname = path;
        }
    };

    static getCurrent = (): string => {
        return window.location.pathname;
    };
}
